package com.strange.mdl.module.mdl.controller.admin.debatehall.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.strange.mdl.module.mdl.dal.dataobject.debatehallcomment.DebatehallCommentDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 辨经殿话题 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppDebatehallRespVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "973")
    @ExcelProperty("主键ID")
    private Long id;

    @Schema(description = "创作者ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("创作者ID")
    private Long userId;

    @Schema(description = "话题详细描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("话题详细描述")
    private String content;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "正方标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("正方标题")
    private String prosTitle;

    @Schema(description = "反方标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("反方标题")
    private String consTitle;


    /**
     * 点赞数
     */
    private Integer likes;

    /**
     * 收藏数
     */
    private Integer collects;

    /**
     * 分享数
     */
    private Integer shares;
    /**
     * 评论数
     */
    private Integer messages;
    private Integer prosUserNum;
    private Integer consUserNum;
    private Integer prosRatio;
    private Integer consRatio;

    private Integer isLike;
    private Integer isCollect;
    private Integer isShare;
    private Integer isMessage;
    private List<DebatehallCommentDO> comments;


}